![]() |
![]() |
This query returns a short value representing the point size in tenths of a point (250.0 = 2500). It returns -2 for multiple sizes in selectionDefining or editing a style. If you are defining or editing a style using the PStyleBegin command, PageMaker gets the point size for that style rather than for the selected text.
No insertion point. If the text does not contain the insertion point, PageMaker gets the default point size.
No text selected. If the text contains the insertion point but no text is selected, PageMaker returns the point size of the character preceding the inser tion point. If the insertion point is before the first character of the story, PageMaker returns the point size of the first character.
Example. Change the point size of the text, use the PSize command.
PGetSize currSize;
if (currSize != -2) PSize(currSize + 10); // bump up one pt.
Comments or suggestions? Contact Adobe Developer Support